<html>
<head>
<link rel="stylesheet" type="text/css" href="/style.css">
<script type="text/javascript" src="/bytton.js"></script>
<script>
nrlinie=1;
function smsview_view(linie,id)
{
	tmp="<tr>";
	tmp+="<td class=\"topport0\">"+nrlinie+"</td>";
	nrlinie++;

	for(i=0;i<linie.length;i++)
	{
		if(i==2)
			tmp+="<td class=\"topport\" width=\"300\">"+decodeURIComponent(linie[i])+"</td>";
		else
			tmp+="<td class=\"topport\" width=\"200\">"+linie[i]+"</td>";
	}

	tmp+="<td class=\"tophead\">";
	tmp+="<a href=\""+"sms-read.html"+"?id="+id+"&send=del\">Del</a>&nbsp;";
	tmp+="<a href=\""+"sms-save.html"+"?id="+id+"&send=save\">Save</a>&nbsp;";
	tmp+="</td>";
	tmp+="</tr>";
	document.write(tmp);
}

</script>
</head>
<body>
<script>
topex_pgh("SMS","Read","admin");
topex_forma("/admin/forms/sms-read.html");
topex_wboxa("Received SMSs");
captab=new Array("Date", "Number", "Text");
topex_taba(captab);
</script>
<script>linie=new Array("10.25.11 15:52:33 GMT+08","919958684636","EN%3A%2DGet%20state%20f1%20l1%21Id%3A100%21"); smsview_view(linie,"/out/sms/015.sms");</script>
<script>linie=new Array("10.25.11 15:52:33 GMT+08","919958684634","EN%3A%2DGet%20state%20f1%20l1%21Id%3A121%21"); smsview_view(linie,"/out/sms/016.sms");</script>
<script>linie=new Array("10.25.11 15:52:33 GMT+08","919958684636","EN%3A%2DSet%20state%20f1%20l1%21Id%3A101%21"); smsview_view(linie,"/out/sms/017.sms");</script>

<script>
topex_tabo(captab);
topex_wboxo();
topex_formc("Read SMS","Press Read for view Received SMS")
</script>
</body>
</html>
